package Counter;

import Simulation.SimState;

public abstract class Counter {
	SimState s;
	double sumPowerOne = 0;
	double sumPowerTwo = 0;
	double min;
	private double max;
	public int amount = 0;

	public abstract void count(double value);

	public double getMean() {
		return sumPowerOne / amount;
	}

	public double setMax(double max) {
		this.max = max;
		return max;
	}

	public double getMax() {
		return max;
	}
}
